package com.fc.v2.service;

import com.fc.v2.model.auto.Hairstylist;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

import static org.junit.jupiter.api.Assertions.*;

class HairstylistServiceTest {
    @Resource
    private HairstylistService hairstylistService;
    @Test
    void selectByPrimaryKey() {
        Hairstylist myu;
        myu = this.hairstylistService.selectByPrimaryKey("1");
        System.out.println(myu.getHIntime());
    }
@Test
    void updateByPrimaryKeySelective() {

        Hairstylist record = new Hairstylist("d","1","1","1","1",1,"1");
        this.hairstylistService.updateByPrimaryKeySelective(record);

    }
}
